package org.core.blog.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Article {

    private Long id;
    private String title;
    private String content;
    private int categoryId;
    private int userId;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;

    private List<Tag> tags;
}
